.class Lcom/instagram/android/creation/widget/b;
.super Ljava/lang/Object;
.source "ActionBarCameraFlashButton.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;


# direct methods
.method constructor <init>(Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;)V
    .locals 0
    .parameter

    .prologue
    .line 61
    iput-object p1, p0, Lcom/instagram/android/creation/widget/b;->a:Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2
    .parameter "v"

    .prologue
    .line 64
    sget-object v0, Lcom/instagram/android/creation/widget/c;->a:[I

    iget-object v1, p0, Lcom/instagram/android/creation/widget/b;->a:Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;

    invoke-static {v1}, Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;->a(Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;)Lcom/instagram/android/creation/widget/e;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/android/creation/widget/e;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 73
    iget-object v0, p0, Lcom/instagram/android/creation/widget/b;->a:Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;

    sget-object v1, Lcom/instagram/android/creation/widget/e;->b:Lcom/instagram/android/creation/widget/e;

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;->a(Lcom/instagram/android/creation/widget/e;)V

    .line 77
    :goto_0
    iget-object v0, p0, Lcom/instagram/android/creation/widget/b;->a:Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;

    invoke-static {v0}, Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;->b(Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;)Lcom/instagram/android/creation/widget/d;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 78
    iget-object v0, p0, Lcom/instagram/android/creation/widget/b;->a:Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;

    invoke-static {v0}, Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;->b(Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;)Lcom/instagram/android/creation/widget/d;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/creation/widget/b;->a:Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;

    invoke-static {v1}, Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;->a(Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;)Lcom/instagram/android/creation/widget/e;

    move-result-object v1

    invoke-interface {v0, p1, v1}, Lcom/instagram/android/creation/widget/d;->a(Landroid/view/View;Lcom/instagram/android/creation/widget/e;)V

    .line 80
    :cond_0
    return-void

    .line 66
    :pswitch_0
    iget-object v0, p0, Lcom/instagram/android/creation/widget/b;->a:Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;

    sget-object v1, Lcom/instagram/android/creation/widget/e;->c:Lcom/instagram/android/creation/widget/e;

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;->a(Lcom/instagram/android/creation/widget/e;)V

    goto :goto_0

    .line 69
    :pswitch_1
    iget-object v0, p0, Lcom/instagram/android/creation/widget/b;->a:Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;

    sget-object v1, Lcom/instagram/android/creation/widget/e;->a:Lcom/instagram/android/creation/widget/e;

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/widget/ActionBarCameraFlashButton;->a(Lcom/instagram/android/creation/widget/e;)V

    goto :goto_0

    .line 64
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
